package com.gingko.duominuo.data.model

import android.os.Parcelable
import kotlinx.parcelize.Parcelize


data class WorkOrderDetailVo(
    val app: String?,
    val created_at: String?,
    val `data`: List<WorkOrderItemVo>?,
    val id: String?,
    val proj: String?,
    val task: String?,
    val worker: String?
)

@Parcelize
data class WorkOrderItemVo(
    val `data`: WorkOrderItemDetailVo?,
    val extra: Extra?,
    val id: String?,
    val map_sign: String?,
    val worker: String?,
    var reviewStatus: Boolean?,
) : Parcelable

@Parcelize
data class WorkOrderItemDetailVo(
    val author_account: String?,
    val author_nickname: String?,
    val begin_time: String?,
    val end_time: String?,
    val id: String?,
    val extra_link: String?,
    val job_id: String?,
    val mime: String?,
    val staff_account: String?,
    val staff_nickname: String?,
    val staff_url: String?,
    val target_link: String?,
    val target_title: String?,
    val target_topic: List<String>?
) : Parcelable

@Parcelize
data class Extra(
    val code: Int?,
    val id: String?,
    val result: Result?
) : Parcelable

@Parcelize
data class Result(
    val err_code: Int?,
    val id: String?,
    val status: Boolean?
) : Parcelable